<?php
/*
    Download page
    Copyright (C) 2015  Leah Rowe <info@minifree.org>

    This document is released under Creative Commons Attribution-ShareAlike
    4.0 International license.

    See <https://creativecommons.org/licenses/by-sa/4.0/legalcode>
*/
	header('Content-type: text/html; charset=utf-8');
	ob_start();
	include_once "../common/variables.php";
	include_once "../common/functions.php";
?>
<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="../common/css/main.css" />
	<title><?php echo gettext("GPG signing key"); ?></title>
</head>

<body>

	<div>

		<h1><?php echo gettext("GPG signing key"); ?></h1>

			<p>
				<?php echo $lbProjectGpgKeyInfo; ?>
			</p>
			<p>
				<?php echo gettext("Download the key:"); ?><br/>
				$ <strong>gpg --recv-keys <?php echo $lbProjectGpgKeyID; ?></strong>
			</p>
            <p>
                The GPG key can also be downloaded with this exported dump of
                the pubkey: <a href="lbkey.asc">lbkey.asc</a>.
            </p>

			<p>
				<?php echo gettext("Download the SHA512 manifest and its corresponding GPG signature, for the release that you are using."); ?>
				<?php echo gettext("Put the src, util and docs archives in the same directory as the SHA512 manifest file."); ?>
				<?php echo gettext("Put your ROM image archives under <em>rom/grub/</em> in that directory (or rom/depthcharge/, or rom/seabios/, if you use those payloads), and crossgcc tarballs under <em>crossgcc/</em>."); ?>
			</p>
			<p>
				<?php echo gettext("After you've done this, verify the SHA512 checksums:"); ?><br/>
				$ <strong>sha512sum -c sha512sum.txt</strong>
			</p>
			<p>
				<?php echo gettext("You can verify the downloaded SHA512 manifest as follows:"); ?><br/>
				$ <strong>gpg --verify sha512sum.txt.sig</strong>
			</p>
			<p>
				<a href="../"><?php echo gettext("Back to home page"); ?></a>
			</p>

<p>
Old GPG key (no longer used):
<p>
<pre>
pub   4096R/656F212E 2014-07-04
      Vingerafdruk van de sleutel = C923 4BA3 200C F688 9CC0  764D 6E97 D575 656F 212E
      uid                  Libreboot Releases (signing key) &lt;releases@libreboot.org&gt;
      sub   4096R/EC42160E 2014-07-04
</pre>

	</div>

<?php
	include "../common/footer.php";
?>

</body>
</html>
<?php
	$strHtml = ob_get_clean();
	echo miniHtml($strHtml);
?>
